import Vue from 'vue'
import App from './App'
import router from './router'
import axios from 'axios'
import ElementUI from 'element-ui'
import store from './store/store.js'
import i18n from './i18n/i18n.js'
import * as types from './store/types.js'
import 'element-ui/lib/theme-chalk/index.css' // 默认主题
import 'babel-polyfill'
import './components/plugins/directives';
import 'fs'
Vue.use(ElementUI, {
    size: 'small',
    i18n: (key, value) => i18n.t(key, value)
});
Vue.prototype.$axios = axios

// router.beforeEach((to, from, next) => {})

//import {vueWaterfallEasy} from './components/waterfall/vueWaterfallEasy.js'


new Vue({
    store,
    router,
    i18n,
    render: h => h(App) ,
}).$mount('#app')
